package com.xzuf.extend;

import java.awt.BorderLayout;

import javax.swing.JPanel;

import org.jdesktop.swingx.JXPanel;

import com.xzuf.datatransfer.DataSourcePanel;
import com.xzuf.plugin.IModulePlugin;

/**
 * ���ǰ�ƹ���,�߼�˳��
 * 1�����Դ����
 * 2����ȡԴ��ݵı�ṹ��������ͼ�����
 * 3�����Դ��ݵı�ṹ��b��ݽű�,����Ŀ����ݿ��н���.
 * 4�����insert��佫��ݵ���
 * 5����b����ϵ
 * 6��������
 * 7������ͼ
 * @author xzgf
 * @since 2008-9-2
 * @version 1.0
 */
public class DataTransferPlugin implements IModulePlugin {

	/**
	 * {@inheritDoc}
	 */
	public int getCurrentOpState() {
		return 0;
	}

	/**
	 * {@inheritDoc}
	 */
	@Override
	public void setCurrentOpState(int state) {
	}

	/**
	 * {@inheritDoc}
	 */
	@Override
	public JPanel start() {
		JXPanel panel = new JXPanel();
		panel.setLayout(new BorderLayout());
		panel.add(new DataSourcePanel(),BorderLayout.CENTER);
		return panel;
	}

}
